package cn.edu.hunau.oop.day02.extend2;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-08-05 14:53:54
 */
public class UserTest {

    @Test
    public void testStu(){
        Student s=new Student("2001","张三分","计科24-1");
        System.out.println(s.getClassName());


    }

    @Test
    public void init(){
        User u=new User();

        User u1=new User("1001","张三分");
        System.out.println(u1.getId());
        u1.setId("10001");
        System.out.println(u1.getId());

    }
}
